package com.lagou.service;

import com.lagou.pojo.Course;

import java.util.List;
import java.util.Map;

/**
 * 课程管理模块Service层接口
 */
public interface CourseService {
    public abstract List<Course> findCourseList();

    public abstract List<Course> findByCourseNameAndStatus(String courseName, String status);

    public abstract String savaCourseSalasInfo(Course course);

    public abstract Course findCourseByid(int id);

    public abstract String updateCourseSalesInfo(Course course);

    public abstract Map<String,Integer>  updateCourseStatus(Course course);

}
